<html  manifest="IGNORE.manifest" lang="zh-CN" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
  <link rel="stylesheet" type="text/css" href="../css/reset.css" th:href="@{${uiPath} + ${appName} + '/css/reset.css'}"/>
    <link rel="stylesheet" type="text/css" href="../css/CLSRZ.css"
          th:href="@{${uiPath} + ${appName} + '/css/CLSRZ.css'}"/>
    <link rel="stylesheet" type="text/css" href="../css/index.css" th:href="@{${uiPath} + ${appName} + '/css/index.css'}"/>

</head>

<body>
<div class="zong">
     <div class="toubu">
       <p class="pdp">个人中心</p>
     </div> 
     <div class="kuai"> </div> 
     <div class="touxiang djgie">
         <img src="../images/raw_1503808948.png" th:src="@{${user.userHead}}" alt="" />
     </div>

     <div class="sxinxi" >
         <ul>
             <li class="stiao">
                 <p class="stitl1">昵称：</p>
                 <p class="stitl2" th:text="${user.nickName}">西西</p>
             </li>
             <li class="stiao">
                 <p class="stitl1">姓名</p>

                 <p class="stitl2"th:text="${user.userName}" th:if="${not #lists.isEmpty(user.userName)}"></p>
                 <p class="stitl2"th:unless="${not #lists.isEmpty(user.userName)}">未绑定</p>
             </li>
             <li class="stiao">
                 <p class="stitl1">电话</p>
                 <p class="stitl2"th:text="${user.phone}" th:if="${not #lists.isEmpty(user.phone)}"></p>
                 <p class="stitl2"th:unless="${not #lists.isEmpty(user.phone)}">未绑定</p>
             </li>
        <li class="stiao">
                 <p class="stitl1">是否工作</p>
                 <p class="stitl2">
                     <label class="xuazetued"><input class="yeschect" type="radio" name="hasInstall" value="1"
                                                     onclick="anzhuangclick(1)" checked/><span></span>是</label>
                     <label class="xuazetued"><input class="yeschect" type="radio" name="hasInstall" value="0"
                                                     onclick="anzhuangclick(0)"/><span></span>否</label>
                 </p>

             </li>

         </ul>
   <!--      <div class="checkbox">

         </div>-->
         <ul class="srenz">
              <a th:href="@{'/authRole/auth?type=3'}">
                  <li class="stiao">
                      <p class="stitl9">设计认证</p>
                      <div th:switch="${user.authInfo}">
                          <p class="sti10"th:text="已认证" th:if="${user.authInfo}==3"></p>
                          <p class="sti10"th:unless="${user.authInfo}==3">未认证</p>
                          <p class="stitl11">点击进入</p>
                          <p class="stitl4"></p>
                  </li>
              </a>

              <a th:href="@{'/materialUser/account'}">
                  <li class="stiao">
                      <p class="stitl9">我的账户</p>
                      <p class="sti10"></p>
                      <p class="stitl11">点击进入</p>
                      <p class="stitl4"></p>
                  </li>
              </a>
              <a th:href="@{'/designerUser/designerInfo'}">
                  <li class="stiao">
                      <p class="stitl9">我的保证金</p>
                      <p class="sti10">随时可退</p>
                      <p class="stitl11">点击进入</p>
                      <p class="stitl4"></p>
                  </li>
              </a>
         </ul>
         
            <ul class="srenz">
                <a th:href="@{'/designerUser/designerInfo'}">
                    <li class="stiao">
                        <p class="stitl9">我的资料</p>
                        <p class="sti10"></p>
                        <p class="stitl11">点击进入</p>
                        <p class="stitl4"></p>
                    </li>
                </a>
                <a th:href="@{'/designerUser/anliAdd'}">
                <li class="stiao">
                 <p class="stitl9">我的案例展示</p>
                 <p class="sti10"></p>
                 <p class="stitl11">点击进入</p>
                 <p class="stitl4"></p>
             </li>
            </a>    
         </ul>
         
            <ul class="srenz">
         
              <a href="YZ_Single_YaoQing.html">
                <li class="stiao">
                 <p class="stitl9">我的邀请</p>
                 <p class="sti10">88人</p>
                 <p class="stitl11">点击进入</p>
                 <p class="stitl4"></p>
             </li>
            </a>
             
         </ul>
          <ul class="srenz">
         
             
            <li class="stiao">
                 <p class="stitl9">工友会</p>
                 <p class="sti10"></p>
                 <p class="stitl11">点击进入</p>
                 <p class="stitl4"></p>
             </li>
              <li class="stiao">
                 <p class="stitl9">论坛</p>
                 <p class="sti10"></p>
                 <p class="stitl11">点击进入</p>
                 <p class="stitl4"></p>
             </li> 
         </ul>
          <ul class="srenz">
         
              <li class="stiao">
                 <p class="stitl9">退出当前账号</p>
                 <p class="sti10"></p>
                 <p class="stitl11">点击进入</p>
                 <p class="stitl4"></p>
             </li> 
         </ul>
     </div> 

</div>
	   <script type="text/javascript" src="../js/flexible.js" th:src="@{${uiPath} + ${appName} + '/js/flexible.js'}"></script>
    <script type="text/javascript" src="../js/jquery.min.js" th:src="@{${uiPath} + ${appName} + '/js/jquery.min.js'}"></script>

<script type="text/javascript" src="../js/index.js" th:src="@{${uiPath} + ${appName} + '/js/index.js'}"></script>
<script>
    function anzhuangclick(type){
        var updateType = 0;
        $.ajax({
            url:"/designerUser/updateDesigner",
            data:{'orderState':type,'updateType':updateType},
            type:'post',
            dataType:'json',
            success:function (reulst) {
                if(reulst.code==1){
                }

            }
        })
    }
</script>

</body>
</html>